<?php
	$manguoidung = $_POST["manguoidung"];
	$tendangnhap = $_POST["tendangnhap"];
	$tennguoidung = $_POST["tenguoidung"];
	$loainguoidung = $_POST["loainguoidung"];
	$dienthoai = $_POST["dienthoai"];
	$email = $_POST["email"];
	$diachi = $_POST["diachi"];
	$ngaysinh = $_POST["ngaysinh"];
	$bixoa = $_POST["bixoa"];
	
	$sql = "UPDATE `nguoidung` SET `maloainguoidung`=$loainguoidung,`tendangnhap`='".$tendangnhap."',`tenguoidung`='".$tennguoidung."',`dienthoai`='".$dienthoai."',`email`='".$email."',`diachi`='".$dienthoai."',`ngaysinh`='".$ngaysinh."',BiXoa = $bixoa WHERE `manguoidung`=$manguoidung";
	include"../../../code/DataProvider.php";
	DataProvider::ExecuteQuery($sql);
	header("location:../../index.php?act=1");
?>